while True:
    num1 = input('please input num1:')
    operator = input('please choose an operator(+ - * /):')
    num2 = input('please input num2:')
    if operator == "+":
        result = int(num1) + int(num2)
        print(result)
    if operator == "-":
        result = int(num1) - int(num2)
        print(result)
    if operator == "*":
        result = int(num1) * int(num2)
        print(result)
    if operator == "/":
        result = int(num1) / int(num2)
        print(result)
    x = input('do you want to play angin:(yes/no):')
    if x == "yes":
        continue
    elif x == "no":
        print('byebye!')
        break